<!DOCTYPE html>
<html lang="zh">
<head>
  <meta charset="UTF-8"/>
  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  <title>HarmonyStyleDemo</title>

  <!-- 开发环境：直接引入 Less 文件 -->
  <% if (process.env.NODE_ENV === 'development') { %>
    <link rel="stylesheet/less" type="text/css" href="/src/index.less" />
    <script src="/node_modules/less/dist/less.min.js" ></script>
  <% } else { %>
    <link rel="stylesheet" href="/dist/harmony-style.min.css">
  <% } %>

  <style>
    .content {
      text-align: center;
    }
  </style>
</head>
<body>
  <div class="container">
    <div class="header">

    </div>
    <div class="header-sub">
      <span class="title-sub">Sub Header</span>
      <div class="action"></div>
    </div>
    <div class="grid content">
      <div class="grid-item col-3">
        <span class="text">1</span>
      </div>
      <div class="grid-item col-3">
        <span class="text">2</span>
      </div>
      <div class="grid-item col-6">
        <span class="text">3</span>
      </div>
      <div class="grid-item col-6">
        <span class="text">4</span>
      </div>
      <div class="grid-item col-6">
        <span class="text">5</span>
      </div>
      <div class="divider"></div>
      <div class="grid-item col-12">
        <span class="text">6</span>
      </div>
    </div>
    <div class="divider col"></div>
  </div>

  <script>
    // 开发环境调试脚本
    if (import.meta.env.DEV) {
      console.log('🚀 开发模式已启动')
      console.log('📦 版本:', import.meta.env.VITE_APP_VERSION)
    }
  </script>
</body>
</html>


